<?php
/**
 * *****************************
 * 智慧校园 Smart_campus
 * create by ZhangChenjun
 * 2020.01.14 16:21
 * *****************************
 */
use think\Route;

//登录
Route::rule('login','index/index/index');
Route::rule('logout','index/index/logout');
//服务器禁止操作
Route::rule('error','index/error/index');
//班主任   端口
Route::rule('teacher','teacher/index/index');   //班主任Home_Page
Route::rule('home','teacher/index/home');       //控制面板
Route::rule('person','teacher/index/person');   //个人资料
Route::rule('change_face','teacher/index/change_face');   //更改头像
Route::rule('change_password','teacher/index/change_password');   //更改密码
Route::rule('face_img','api/upload/face_img');   //更改头像api
Route::rule('student','teacher/student/index');   //学生信息
Route::rule('change_name','teacher/student/change_name');   //学生姓名修改
Route::rule('class_info_alert','teacher/student/class_info_alert');   //学生姓名修改
//
//Route::rule('student','teacher/safety/index');   //登录状态
//Route::rule('student','teacher/safety/status');   //敏感操作


//家长    端口
Route::rule('family','family/index/index');
//门卫    端口
Route::rule('door','door/index/index');
//超级管理员     端口
Route::rule('leader','leader/index/index');
